home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / java / sql / Connection.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  3.0 KB  |  107 lines

  1. package java.sql;
  2.  
  3. import java.util.Map;
  4. import java.util.Properties;
  5.  
  6. public interface Connection extends Wrapper {
  7.    int TRANSACTION_NONE = 0;
  8.    int TRANSACTION_READ_UNCOMMITTED = 1;
  9.    int TRANSACTION_READ_COMMITTED = 2;
  10.    int TRANSACTION_REPEATABLE_READ = 4;
  11.    int TRANSACTION_SERIALIZABLE = 8;
  12.  
  13.    Statement createStatement() throws SQLException;
  14.  
  15.    PreparedStatement prepareStatement(String var1) throws SQLException;
  16.  
  17.    CallableStatement prepareCall(String var1) throws SQLException;
  18.  
  19.    String nativeSQL(String var1) throws SQLException;
  20.  
  21.    void setAutoCommit(boolean var1) throws SQLException;
  22.  
  23.    boolean getAutoCommit() throws SQLException;
  24.  
  25.    void commit() throws SQLException;
  26.  
  27.    void rollback() throws SQLException;
  28.  
  29.    void close() throws SQLException;
  30.  
  31.    boolean isClosed() throws SQLException;
  32.  
  33.    DatabaseMetaData getMetaData() throws SQLException;
  34.  
  35.    void setReadOnly(boolean var1) throws SQLException;
  36.  
  37.    boolean isReadOnly() throws SQLException;
  38.  
  39.    void setCatalog(String var1) throws SQLException;
  40.  
  41.    String getCatalog() throws SQLException;
  42.  
  43.    void setTransactionIsolation(int var1) throws SQLException;
  44.  
  45.    int getTransactionIsolation() throws SQLException;
  46.  
  47.    SQLWarning getWarnings() throws SQLException;
  48.  
  49.    void clearWarnings() throws SQLException;
  50.  
  51.    Statement createStatement(int var1, int var2) throws SQLException;
  52.  
  53.    PreparedStatement prepareStatement(String var1, int var2, int var3) throws SQLException;
  54.  
  55.    CallableStatement prepareCall(String var1, int var2, int var3) throws SQLException;
  56.  
  57.    Map<String, Class<?>> getTypeMap() throws SQLException;
  58.  
  59.    void setTypeMap(Map<String, Class<?>> var1) throws SQLException;
  60.  
  61.    void setHoldability(int var1) throws SQLException;
  62.  
  63.    int getHoldability() throws SQLException;
  64.  
  65.    Savepoint setSavepoint() throws SQLException;
  66.  
  67.    Savepoint setSavepoint(String var1) throws SQLException;
  68.  
  69.    void rollback(Savepoint var1) throws SQLException;
  70.  
  71.    void releaseSavepoint(Savepoint var1) throws SQLException;
  72.  
  73.    Statement createStatement(int var1, int var2, int var3) throws SQLException;
  74.  
  75.    PreparedStatement prepareStatement(String var1, int var2, int var3, int var4) throws SQLException;
  76.  
  77.    CallableStatement prepareCall(String var1, int var2, int var3, int var4) throws SQLException;
  78.  
  79.    PreparedStatement prepareStatement(String var1, int var2) throws SQLException;
  80.  
  81.    PreparedStatement prepareStatement(String var1, int[] var2) throws SQLException;
  82.  
  83.    PreparedStatement prepareStatement(String var1, String[] var2) throws SQLException;
  84.  
  85.    Clob createClob() throws SQLException;
  86.  
  87.    Blob createBlob() throws SQLException;
  88.  
  89.    NClob createNClob() throws SQLException;
  90.  
  91.    SQLXML createSQLXML() throws SQLException;
  92.  
  93.    boolean isValid(int var1) throws SQLException;
  94.  
  95.    void setClientInfo(String var1, String var2) throws SQLClientInfoException;
  96.  
  97.    void setClientInfo(Properties var1) throws SQLClientInfoException;
  98.  
  99.    String getClientInfo(String var1) throws SQLException;
  100.  
  101.    Properties getClientInfo() throws SQLException;
  102.  
  103.    Array createArrayOf(String var1, Object[] var2) throws SQLException;
  104.  
  105.    Struct createStruct(String var1, Object[] var2) throws SQLException;
  106. }
  107.